#include <fstream>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    char c;
    fstream fsm;

    if (argc < 2)
        return 1;

    fsm.open(argv[1]);

    while (1) {
        c = fsm.get();
        if (fsm.eof())
            break;
        cout << c;
    }

    fsm.close();
    cout << endl;

    return 0;
}

